<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="orderimporter/add">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('目的国')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-country_id" data-rule="required" data-source="country/listing" data-params='' data-multiple="false"
                   class="form-control selectpage" name="row[country_id]" type="text" value="">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('店铺')}:</label>
        <div class="col-xs-12 col-sm-2">
            <input id="c-shop_id" data-rule="required" data-source="shops/index" data-params='{"custom[country_id]":"0"}' data-multiple="false"
                   class="form-control selectpage" name="row[shop_id]" type="text" value="">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('产品')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-goodssku_id" data-rule="required" data-source="goodssku/getfullsku" data-params='{"custom[country_id]":"0"}' data-multiple="false"
                   class="form-control selectpage" data-field="goods_sku" name="row[goodssku_id]" type="text" value="">
<!--            <select  id="c-goods" data-rule="required" class="form-control selectpicker" name="row[goodssku_id]">
                {foreach name="goodsSkuList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>-->

        </div>
    </div>

    <div class="form-group">
        <label for="c-avatar" class="control-label col-xs-12 col-sm-4">订单（从TK后台导出）:</label>
        <div class="col-xs-12 col-sm-4">
            <div class="input-group">
                <input id="c-avatar" data-rule="" class="form-control" size="50" name="row[avatar]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="*" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="*" data-multiple="false"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4"><span style="color: red;">*</span>{:__('达人联盟佣金比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-alliance_commission_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[alliance_commission_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('产品成本')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-cost" data-rule="required" min="0" class="form-control" step="0.01" name="row[cost]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('产品杂费（国内）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-china_extra" data-rule="required" min="0" class="form-control" step="0.01" name="row[china_extra]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('产品杂费（跨境）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-oversea_extra" data-rule="required" min="0" class="form-control" step="0.01" name="row[oversea_extra]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('平台佣金比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-trade_commission_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[trade_commission_rate]" type="number" value="0">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('平台手续费比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-tk_handling_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[tk_handling_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('订单处理手续费-VN')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-tk_handling_fee" data-rule="required" min="0" class="form-control" step="0.01" name="row[tk_handling_fee]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('SFP比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-sfp_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[sfp_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('超级优惠券比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-super_coupon_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[super_coupon_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('奖金返现比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-bonus_cash_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[bonus_cash_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('关税比例（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-tariff_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[tariff_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('增值税税率（%）')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-value_added_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[value_added_rate]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('跨境物流成本-目的国货币')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-export_transport_fee" data-rule="required" min="0" class="form-control" step="0.01" name="row[export_transport_fee]" type="number" value="0.00">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('海外单头程成本-RMB')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-oversea_order_export_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[oversea_order_export_rate]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('海外仓操作费-RMB')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-oversea_order_pack_rate" data-rule="required" min="0" class="form-control" step="0.01" name="row[oversea_order_pack_rate]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-4">{:__('海外续件费-RMB')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-oversea_order_xujian_fee" data-rule="required" min="0" class="form-control" step="0.01" name="row[oversea_order_xujian_fee]" type="number" value="0.00">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-4"></label>
        <div class="col-xs-12 col-sm-4">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>